package com.ysd.crm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ysd.crm.service.AskersService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@RequestMapping("/askers")
@Api
@RestController
public class AskersController {
	@Autowired
	private AskersService askersService;
	/**
	 * ytt
	 * 查询所有 askers
	 * @return
	 */
	@ApiOperation("查询所有 askers ytt")
	@PostMapping("getAskAll")
	public Object getAskAll() {
		return askersService.findAskAll();
	}
}
